import {fetch,upload} from 'utils/fetch';


/***
 * 获取企业法人信息
 * @returns {*}
 */
export function queryCompanyLegal() {
  return fetch({
    url: '/account/companyLegal',
    method: 'post'
  });
}

/***
 * 获取企业实际控制人信息
 * @returns {*}
 */
export function queryControlPerson() {
  return fetch({
    url: '/account/controlPerson',
    method: 'post'
  });
}


/***
 * 获取企业退税专户信息
 * @returns {*}
 */
export function queryTaxrAccount() {
  return fetch({
    url: '/account/taxrAccount?uscCode=',
    method: 'post'
  });
}

/***
 * 获取企业
 * 退税专户信息和一般结算户信息
 * @returns {*}
 */
export function queryTaxrAandJsAccount(data) {
  return fetch({
    url: '/account/companyBankInfo',
    method: 'post',
    data
  });
}
